package com.rtsffm.rtd.action.model.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

//~--- annotations ------------------------------------------------------------

/**
 * In a multi-threaded environment, when this annotation is used on a field,
 * it is suggested to make the field volatile
 * @author p.mankala
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.FIELD })
@Inherited
public @interface ActionAdopt {
    ActionIdDelegatePair[] adopt();
}
